<template>
  <div>
    <Dog
      :val="item.img"
      :value="item.text"
      v-for="(item, index) in date"
      :key="index"
    />
  </div>
</template>

<script>
import Dog from "@/components/02作业/02-likeDog.vue";
export default {
  components: {
    Dog: Dog,
  },
  data() {
    return {
      date: [
        {
          img: "http://destiny001.gitee.io/image/cxk.gif",
          text: "作业二",
        },
        {
          img: "http://destiny001.gitee.io/image/cxk.gif",
          text: "作业二222",
        },
      ],
    };
  },
};
</script>

<style>
</style>